package cn.ulc.store.dao.staff;
import cn.ulc.store.dao.BaseDao;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import cn.ulc.store.entity.staff.StaffOrder;

import java.util.List;


/*
* StaffOrder
* gen by Jin mapper 2019-06-12
*/
@SqlResource("staff.staffOrder")
public interface StaffOrderDao extends BaseDao<StaffOrder> {

    PageQuery<StaffOrder> findListPage(PageQuery pageQuery);

    List<StaffOrder> findByStaff(Long staffId);
    List<StaffOrder> findUnfinishedByStaff(Long staffId);

    StaffOrder findById(Long id);

}
